#ifndef BMI088MIDDLEWARE_H
#define BMI088MIDDLEWARE_H

#include "Light.h"
#include "delay.h"

#define BMI088_USE_SPI
//#define BMI088_USE_IIC

extern void BMI088_GPIO_init(void);
extern void BMI088_com_init(void);

void TimingDelay_Decrement(void);

#if defined(BMI088_USE_SPI)


extern uint8_t BMI088_read_write_byte(uint8_t reg);

#elif defined(BMI088_USE_IIC)

#endif

#endif
